package com.ruoyi.pingjiao.mapper;

import com.ruoyi.pingjiao.domain.Resource;

import java.util.List;

public interface ResourceMapper {
    Resource selectByCourseId(Long courseId);

    List<?> list(Resource resource);

    List<?> selectListByTeacherId(Integer courseId);

    int add(Resource resource);

    int update(Resource resource);

    int delete(Integer id);

    Object getResourceInfo(Integer id);
}
